<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
	<head>
		<title><s:text name="application.title"/></title>
		<link href="<s:url value="/css/main.css"/>" rel="stylesheet"
		type="text/css"/>
		<link href="<s:url value='/css/main.css'/>" rel="stylesheet" type="text/css"/>
	</head>
	<body>
	<div id="cabecera" class="titleDiv">
		<s:text name="label.profesor.cabecera" />
	</div>

	<div>
		<h1>
			<s:text name="label.login"></s:text>
		</h1>
	</div>

	<div>
		<s:actionerror />
	</div>

		<div>
		<s:form action="doLogin" method="POST">
			
			<s:textfield name="username" label="%{getText('label.login.name')}"/>
			<s:password name="password" label="%{getText('label.login.password')}"/>
			<s:select name="tipoLogin" list="#{'prof':'Profesor', 'alum':'Alumno'}" label="%{getText('label.login.tipoUsuario')}"/>
			
			<s:submit value="%{getText('label.login.button')}" align="center" /></s:form>
			</div>
	</body>

</html>

